home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 October
/
Chip_2002-10_cd1.bin
/
sharewar
/
hnet
/
hnetinfo.exe
/
{app}
/
HinfoCSY.chm
/
source
/
master2.js
< prev
next >
Wrap
Text File
|
2002-02-11
|
4KB
|
155 lines
//This is the master JavaScript file for the HTML Help documentation.
var Copyright1 = "Hnet Software";
//var Copyright = "Copyright© 2000-2002, ScanHw .";
function setCopyright1(){
document.writeln(Copyright1);
}
var Copyright2 = "Copyright© 2000-2002";
function setCopyright2(){
document.writeln(Copyright2);
}
function doSection (secNum){
//display the section if it's not displayed; hide it if it is displayed
if (secNum.style.display=="none"){secNum.style.display=""}
else{secNum.style.display="none"}
}
function noSection (secNum){
//remove the section when user clicks in the opened DIV
if (secNum.style.display==""){secNum.style.display="none"}
}
function doExpand(paraNum,arrowNum){
//expand the paragraph and rotate the arrow; collapse and rotate it back
if (paraNum.style.display=="none"){paraNum.style.display="";arrowNum.src="../../arrowo.gif"}
else{paraNum.style.display="none";arrowNum.src="../../arrowc.gif"}
}
//These functions control the behavior of the homepage go arrows
function liteGo(spNo){
spNo.style.background="#cc0033";
spNo.style.color="#FFFFFF";
}
function liteOff(spNo){
spNo.style.background="transparent";
spNo.style.color="#000000";
}
function HighLight(name) {
document.images[name].src="picture/"+name+"_on"+".gif";
};
function LowLight(name) {
document.images[name].src="picture/"+name+"_off"+".gif";
};
function PreLoad(name) {
document.images[name].src="picture/"+name+"_on"+".gif";
};
function Load(name) {
document.images[name].src="picture/"+name+"_off"+".gif";
};
function doExpandd(paraNum,arrowNum){
var isIE = (navigator.appName == "Microsoft Internet Explorer");
if (isIE){
if (document.all[paraNum].style.display==="none")
{
document.images[arrowNum].src="../../../arrowc.gif"
document.all[paraNum].style.display="";
}
else
{
document.images[arrowNum].src="../../../arrowo.gif"
document.all[paraNum].style.display="none";
}
}
}
//parametry 'exp' a 'ar'
function doExpandPar(paraNum){
if (document.all["exp"+paraNum].style.display==="none")
{
document.images["ar"+paraNum].src="arrowdn.gif"
document.all["exp"+paraNum].style.display="";
}
else
{
document.images["ar"+paraNum].src="arrowrt.gif"
document.all["exp"+paraNum].style.display="none";
}
}
function doExpandAll(maxParaNum){
for(var i=0; i <= maxParaNum; i++)
{
if(i == 0)
{
if (document.all["exp"+0].style.display==="none")
{
document.images["ar"+i].src="../../arrowc.gif"
document.all["exp"+i].style.display="";
}
else
{
document.images["ar"+i].src="../../arrowo.gif"
document.all["exp"+i].style.display="none";
}
}
else
{
if (document.all["exp"+0].style.display==="none")
{
document.images["ar"+i].src="arrowrt.gif"
document.all["exp"+i].style.display="none";
}
else
{
document.images["ar"+i].src="arrowdn.gif"
document.all["exp"+i].style.display="";
}
}
}
}
//parametry 'exp' a 'ar'
function doListPar(paraNum){
if (document.all["exp"+paraNum].style.display==="none")
{
document.images["ar"+paraNum].src="../../booko.gif"
document.all["exp"+paraNum].style.display="";
}
else
{
document.images["ar"+paraNum].src="../../bookc.gif"
document.all["exp"+paraNum].style.display="none";
}
}
function setColorExp(paraNum, action) {
if (action == "on")
{
document.all["hdr"+paraNum].style.color='blue';
}
else
{
document.all["hdr"+paraNum].style.color='navy';
}
}